package com.dz.order.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dz.common.entity.IdEntity;

import java.io.Serializable;

/**
 * <p>
 * 订单基础表
 * </p>
 *
 * @author star
 * @since 2017-06-27
 */
@TableName("t_order")
public class Order implements Serializable,IdEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
	@TableField("fid")
	private Long id;
    /**
     * 订单编号
     */
	@TableField("forderno")
	private String orderno;
    /**
     * 客户id
     */
	@TableField("fcustomerid")
	private Long customerid;
    /**
     * 客户名称
     */
	@TableField("fcustomerName")
	private String customerName;
    /**
     * 商品id
     */
	@TableField("fproductid")
	private Long productid;
    /**
     * 商品名称
     */
	@TableField("fproductName")
	private String productName;
    /**
     * 申请金额
     */
	@TableField("fapplyAmount")
	private BigDecimal applyAmount;
    /**
     * 订单类型
     */
	@TableField("forderTypeid")
	private Long orderTypeid;
    /**
     * 订单类型id
     */
	@TableField("forderTypeDesc")
	private String orderTypeDesc;
    /**
     * 申请时间
     */
	@TableField("fapplyDate")
	private Date applyDate;
    /**
     * 签约时间
     */
	@TableField("fsignDate")
	private Date signDate;
    /**
     * 签约人
     */
	@TableField("fsignatory")
	private String signatory;
    /**
     * 放款时间
     */
	@TableField("fpayDate")
	private Date payDate;
    /**
     * 放款金额
     */
	@TableField("fpayAmount")
	private BigDecimal payAmount;
    /**
     * 返点比例
     */
	@TableField("frebateRate")
	private Float rebateRate;
    /**
     * 服务费
     */
	@TableField("fserviceCharge")
	private BigDecimal serviceCharge;
    /**
     * 订单状态
     */
	@TableField("forderStateid")
	private Long orderStateid;
    /**
     * 订单状态描述
     */
	@TableField("forderStateDesc")
	private String orderStateDesc;
    /**
     * 订单进度
     */
	@TableField("forderProgressid")
	private Long orderProgressid;
    /**
     * 订单进度描述
     */
	@TableField("forderProgressDesc")
	private String orderProgressDesc;
    /**
     * 备注
     */
	@TableField("fremark")
	private String remark;
    /**
     * 创建时间
     */
	@TableField("fcreateDate")
	private Date createDate;
    /**
     * 修改时间
     */
	@TableField("fupdateDate")
	private Date updateDate;
    /**
     * 创建人
     */
	@TableField("fcreateBy")
	private String createBy;
    /**
     * 修改人
     */
	@TableField("fupdateBy")
	private String updateBy;
    /**
     * text_field1
     */
	@TableField("text_field1")
	private String textField1;
    /**
     * text_field2
     */
	@TableField("text_field2")
	private String textField2;
    /**
     * text_field3
     */
	@TableField("text_field3")
	private String textField3;
    /**
     * text_field4
     */
	@TableField("text_field4")
	private String textField4;
    /**
     * text_field5
     */
	@TableField("text_field5")
	private String textField5;
    /**
     * num_field1
     */
	@TableField("num_field1")
	private BigDecimal numField1;
    /**
     * num_field2
     */
	@TableField("num_field2")
	private BigDecimal numField2;
    /**
     * num_field3
     */
	@TableField("num_field3")
	private BigDecimal numField3;
    /**
     * date_field1
     */
	@TableField("date_field1")
	private Date dateField1;
    /**
     * date_field2
     */
	@TableField("date_field2")
	private Date dateField2;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public Long getCustomerid() {
		return customerid;
	}

	public void setCustomerid(Long customerid) {
		this.customerid = customerid;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public Long getProductid() {
		return productid;
	}

	public void setProductid(Long productid) {
		this.productid = productid;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public BigDecimal getApplyAmount() {
		return applyAmount;
	}

	public void setApplyAmount(BigDecimal applyAmount) {
		this.applyAmount = applyAmount;
	}

	public Long getOrderTypeid() {
		return orderTypeid;
	}

	public void setOrderTypeid(Long orderTypeid) {
		this.orderTypeid = orderTypeid;
	}

	public String getOrderTypeDesc() {
		return orderTypeDesc;
	}

	public void setOrderTypeDesc(String orderTypeDesc) {
		this.orderTypeDesc = orderTypeDesc;
	}

	public Date getApplyDate() {
		return applyDate;
	}

	public void setApplyDate(Date applyDate) {
		this.applyDate = applyDate;
	}

	public Date getSignDate() {
		return signDate;
	}

	public void setSignDate(Date signDate) {
		this.signDate = signDate;
	}

	public String getSignatory() {
		return signatory;
	}

	public void setSignatory(String signatory) {
		this.signatory = signatory;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	public BigDecimal getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public Float getRebateRate() {
		return rebateRate;
	}

	public void setRebateRate(Float rebateRate) {
		this.rebateRate = rebateRate;
	}

	public BigDecimal getServiceCharge() {
		return serviceCharge;
	}

	public void setServiceCharge(BigDecimal serviceCharge) {
		this.serviceCharge = serviceCharge;
	}

	public Long getOrderStateid() {
		return orderStateid;
	}

	public void setOrderStateid(Long orderStateid) {
		this.orderStateid = orderStateid;
	}

	public String getOrderStateDesc() {
		return orderStateDesc;
	}

	public void setOrderStateDesc(String orderStateDesc) {
		this.orderStateDesc = orderStateDesc;
	}

	public Long getOrderProgressid() {
		return orderProgressid;
	}

	public void setOrderProgressid(Long orderProgressid) {
		this.orderProgressid = orderProgressid;
	}

	public String getOrderProgressDesc() {
		return orderProgressDesc;
	}

	public void setOrderProgressDesc(String orderProgressDesc) {
		this.orderProgressDesc = orderProgressDesc;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getTextField1() {
		return textField1;
	}

	public void setTextField1(String textField1) {
		this.textField1 = textField1;
	}

	public String getTextField2() {
		return textField2;
	}

	public void setTextField2(String textField2) {
		this.textField2 = textField2;
	}

	public String getTextField3() {
		return textField3;
	}

	public void setTextField3(String textField3) {
		this.textField3 = textField3;
	}

	public String getTextField4() {
		return textField4;
	}

	public void setTextField4(String textField4) {
		this.textField4 = textField4;
	}

	public String getTextField5() {
		return textField5;
	}

	public void setTextField5(String textField5) {
		this.textField5 = textField5;
	}

	public BigDecimal getNumField1() {
		return numField1;
	}

	public void setNumField1(BigDecimal numField1) {
		this.numField1 = numField1;
	}

	public BigDecimal getNumField2() {
		return numField2;
	}

	public void setNumField2(BigDecimal numField2) {
		this.numField2 = numField2;
	}

	public BigDecimal getNumField3() {
		return numField3;
	}

	public void setNumField3(BigDecimal numField3) {
		this.numField3 = numField3;
	}

	public Date getDateField1() {
		return dateField1;
	}

	public void setDateField1(Date dateField1) {
		this.dateField1 = dateField1;
	}

	public Date getDateField2() {
		return dateField2;
	}

	public void setDateField2(Date dateField2) {
		this.dateField2 = dateField2;
	}

}
